package org.dragonnova.meetingapp.core.manager;

import org.dragonnova.meetingapp.model.bean.DeviceInfo;
import org.dragonnova.meetingapp.model.bean.MeetingInfo;
import org.dragonnova.meetingapp.model.bean.VoiceInfo;

/**
 * Created by hucn on 2016/6/2.
 * Description:
 */
public interface NetManager {

    void start();

    void stop();

    void enbleNetWorker();

    void disableNetWorker();

    void tryGroup();

    void tryDisGroup();

    void sendVoiceMessage(VoiceInfo voiceInfo);

    void changeServerLanguage(char language);

    void requestVoiceStart();

    void requestVoicePersist();

    void requestVoiceStop();

    boolean isStarted();

    void searchDevices();

    void createMeeting(MeetingInfo meetingInfo);

    void resetMeeting(MeetingInfo meetingInfo);

    MeetingInfo getMeetingInfo();

    void renameDevice(DeviceInfo info);

    void setMeetingId(int id);

    void closeMeeting();

    void joinMeeting();
}
